package com.edu.quartz.domain.nicezhuangye;

import java.util.List;
import lombok.Data;

/**
 * @program: xxxx_2
 * @description:
 * @author: zlh
 * @create: 2024-01-12 07:19
 **/
@Data
public class SchedulerInfo {

  private String semester;
  private List<Schedule> schedule;
//  private TimeSettings timeSettings;
  private List<Object> gradeTimeSettings;


  @Data
  public static class Schedule {
    private String classFullName;
    private String qualifiedClassID;
    private String classType;
    private int weekDay;
    private String date;
    private String oddDual;
    private int timeslot;
    private String beginTime;
    private String endTime;
    private String subjectID;
    private String subjectName;
    private List<TeacherInfo> teachers;
    private String locationID;
    private String locationName;
  }

  @Data
  public static class TeacherInfo {
    private String teacherEID;
    private String teacherName;
  }

  @Data
  public static class TimeSettings {
    private int daysPerWeek;
    private int earlyMorningLessons;
    private int morningLessons;
    private int afternoonLessons;
    private int nightLessons;
    private List<TimeItem> times;
  }

  @Data
  public static class TimeItem {
    private int timeslotInDay;
    private String beginTime;
    private int duration;
    private int breakDuration;

  }
}
